package org.springframework.web.servlet.ajax.json;

/**
 * Reads commands from the JsonAjax object and turns the commands into JSON.
 * @see JsonAjax
 * @author Charles Tassoni
 */

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface JsonAjaxReaction {

	public void setPartialsCore(PartialsCore partials);

	public void setRequest(HttpServletRequest request);

	public void setResponse(HttpServletResponse response);

	public void setModel(Map model);

	public void buildJson(List<List> jsonWorkRequests);
	
	public void writeJson();

}